// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 数据 POST */
export async function pageNews(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<NewsData.PageResult[]>>('/news/page', {
    method: 'POST',
    data: options || {},
  });
}
/**
 * 导出
 * @param options 
 * @returns 
 */
export async function exportNews(options?: { [key: string]: any }) {
  return request('/news/export', {
    method: 'POST',
    data: options || {},
    responseType: 'blob'
  });
}



